/**
 * @description 左侧布局
 */
const leftLayout = r => {
    require.ensure(
        [],
        () => r(require('../../views/assetMgt/index').default),
        'assetMgt'
    )
}
export default [
    {
        path: '/assetMgt', // 资产管理
        name: 'assetMgt',
        component: leftLayout,
        redirect: '/assetMgt/manage',
        meta: {
            title: '固定资产管理'
        },
        children: [
            {
                path: '/assetMgt/manage', // 资产管理
                name: 'assetManage',
                component: r => {
                    require.ensure([], () => r(require('@/views/assetMgt/manage/Manage.vue').default), 'assetMgt')
                },
                meta: {
                    title: '资产管理'
                }
            }, {
                path: '/assetMgt/check', // 资产清查
                name: 'assetCheck',
                component: r => {
                    require.ensure([], () => r(require('@/views/assetMgt/check/Check.vue').default), 'assetMgt')
                },
                meta: {
                    title: '资产清查'
                }
            }, {
                path: '/assetMgt/details', // 供应商明细
                name: 'assetDetail',
                component: r => {
                    require.ensure([], () => r(require('../../views/assetMgt/detail/Detail.vue').default), 'assetMgt')
                },
                meta: {
                    title: '供应商明细'
                }
            }, {
                path: '/assetMgt/record', // 变动记录
                name: 'assetRecord',
                component: r => {
                    require.ensure([], () => r(require('../../views/assetMgt/record/Record.vue').default), 'assetMgt')
                },
                meta: {
                    title: '变动记录'
                }
            }, {
                path: '/assetMgt/share', // 资产共享
                name: 'assetShare',
                component: r => {
                    require.ensure([], () => r(require('../../views/assetMgt/share/Share.vue').default), 'assetMgt')
                },
                meta: {
                    title: '资产共享'
                }
            }
        ]
    }
]
